<!-- 模块说明 -->

<template>
  <div class="VueQrcode" v-if="qrUrl">
    <VueQr :text="qrUrl" :size="size" :callback="getImgInfo" />
  </div>
</template>

<script setup>
import VueQr from 'vue-qr'
defineProps({
  qrUrl: String,
  size: {
    type: String,
    default: '280'
  }
})

</script>
<style lang="scss" scoped></style>